<template>
  <div class="k-toolbar">
    <div class="k-toolbar__main">
      <slot></slot>
    </div>
    <div v-if="$slots.right" class="k-toolbar__right">
      <slot name="right"></slot>
    </div>
  </div>
</template>

<script setup lang="ts">
import { defineComponent } from 'vue';
defineOptions({ name: 'KToolbar' });
// interface Props {
// }
// const props = withDefaults(defineProps<Props>(), {});
</script>

<style lang="scss">
.k-toolbar {
  display: flex;
  align-items: center;
  margin-bottom: 16px;

  &__main {
    flex: 1;
  }

  // &__right{}
}
</style>
